FKCart\Includes\Ajax B

Total Complexity 98
Dependencies 6
Dependents 2
Total lines 502
Lines of code 311
Logical lines of code 209
Comment lines 105
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
add_cart_item()
A
44 16 39
update_variable_item_attributes()
A
45 15 39
update_cart_item()
A
44 13 42
item_quick_view()
S
49 7 29
fragments()
S
52 7 22
get_public_endpoints()
S
59 6 13
apply_coupon()
S
53 5 21
remove_coupon()
S
55 5 19
remove_cart_item()
S
55 5 18
set_fkcart_cookies()
S
62 6 10
verify_nonce()
S
64 3 9
handle_public_ajax()
S
69 2 6
send_success()
S
69 2 7
error_response()
S
68 2 7
get_available_public_endpoints()
S
62 1 12
get_fragments()
S
71 1 6
set_cookie()
S
67 1 7
__construct()
S
71 1 5